package com.xiaohua.system.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 头像上传参数
 *
 * @author 小花
 * @date 2025-03-23
 */
@ApiModel(value = "头像上传参数", description = "头像上传请求参数")
@Data
public class AvatarDTO {
    @ApiModelProperty(value = "Base64编码的图片", required = true, example = "iVBORw0KGgoAAAANSUhEUgAA...")
    @NotBlank(message = "头像数据不能为空")
    private String base64Data;
} 